package com.IODemo.BufferedByteStream;

import java.io.BufferedOutputStream;
import java.io.FileOutputStream;
import java.io.IOException;
/**
 * @Author milian
 * @Date 2021/7/27 0027 19:07
 */
public class BufferedOutputStreamDemo {

    public static void main(String[] args) throws IOException {
        BufferedOutputStream bos = new BufferedOutputStream(new FileOutputStream("H:\\test\\test.txt"));
        bos.write("wdnm\r\n".getBytes());
        bos.write("world\r\n".getBytes());
        bos.close();
    }
}
